package test.serverframe.armc.server.manager.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@ApiModel("链路参数")
public class LinkParam {

    // 链路参数id
    @ApiModelProperty("链路参数id")
    private String linkParamId;

    // 节点id
    @NotNull(message = "节点id不能为空")
    @Size(max = 36,message = "实例名称最大为36字符")
    @ApiModelProperty("节点id")
    private String interRelateTaskId;

    @ApiModelProperty("输入参数_Header")
    private String inHeader;

    @ApiModelProperty("输入参数_Body")
    private String inBody;

    @ApiModelProperty("输入参数_Query")
    private String inQuery;

    @ApiModelProperty("返回值")
    private String outValue;

    @ApiModelProperty("异常处理方式")
    private Integer exceptionSign;

    public String getLinkParamId() {
        return linkParamId;
    }

    public void setLinkParamId(String linkParamId) {
        this.linkParamId = linkParamId == null ? null : linkParamId.trim();
    }

    public String getInterRelateTaskId() {
        return interRelateTaskId;
    }

    public void setInterRelateTaskId(String interRelateTaskId) {
        this.interRelateTaskId = interRelateTaskId == null ? null : interRelateTaskId.trim();
    }

    public String getInHeader() {
        return inHeader;
    }

    public void setInHeader(String inHeader) {
        this.inHeader = inHeader;
    }

    public String getInBody() {
        return inBody;
    }

    public void setInBody(String inBody) {
        this.inBody = inBody;
    }

    public String getInQuery() {
        return inQuery;
    }

    public void setInQuery(String inQuery) {
        this.inQuery = inQuery;
    }

    public String getOutValue() {
        return outValue;
    }

    public void setOutValue(String outValue) {
        this.outValue = outValue;
    }

    public Integer getExceptionSign() {
        return exceptionSign;
    }

    public void setExceptionSign(Integer exceptionSign) {
        this.exceptionSign = exceptionSign;
    }
}
